<?php

namespace app\model;

class AppSettingModel extends ModelBase
{
    protected $name = 'base_app_setting';
    protected $pk = 'app_id';
    protected $pk_name = 'APP_ID';
    protected $hav_deleted_column=0;
    protected $checkField = [];

    public static function getColumn($app_id=0,$column=''){
        $res=self::where([['app_id','=',$app_id]])->find();
        return $res[$column];
    }
}